package icu.shaoyayu.common.web.swagger;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author shaoyayu
 * @date 2021/12/25
 * @apiNote
 */
@ConfigurationProperties("swagger.api.info")
public class Swagger2ApiInfoProperties {

    private String title ;

    private String description ;

    private String version ;

    private String url ;

    private String scanPackagePath ;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getScanPackagePath() {
        return scanPackagePath;
    }

    public void setScanPackagePath(String scanPackagePath) {
        this.scanPackagePath = scanPackagePath;
    }

    @Override
    public String toString() {
        return "Swagger2ApiInfo{" +
                "title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", version='" + version + '\'' +
                ", url='" + url + '\'' +
                ", scanPackagePath='" + scanPackagePath + '\'' +
                '}';
    }
}
